package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * @author Rongjie
 */
@Data
@TableName("mall_goods_inventory")
@KeySequence(value = "mall_goods_inventory_SEQ")
@ApiModel(value = "MallGoodsInventory对象")
public class MallGoodsInventory implements Serializable{

       private String appKey;

       @TableId(value = "goods_key", type = IdType.UUID)
       private String goodsKey;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
